<!DOCTYPE html>
<html lang="zh-CN">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE-edge">
	<meta name="renderer" content="webkit">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>生活用品商店-后台管理</title>
	<link rel="shortcut icon" href="__PUBLIC__/images//favicon.ico">
	<link rel="stylesheet" href="__PUBLIC__/css/bootstrap.min.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/bootstrap-theme.min.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/style.css" />
	<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
	<script type="text/javascript">
		function checkSearch() {
			var g = document.getElementById('gn').value;
			if (g == '') {
				alert("未输入商品名称");
				return false;
			}
			return true;
		}
	</script>
</head>

<body>

	<!-- 导航栏 -->
	<div id="nav" style="background-color: #fd6440;">
		<nav class="my-navbar" role="navigation">
			<div class="container-fluid">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse"
						data-target="#example-navbar-collapse">
						<span class="sr-only">切换导航</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="?m=Admin&c=Admin&a=load&m=admin&c=index&a=index" title="生活用品商店">
						<img src="__PUBLIC__/images//favicon.ico" style="position: relative;top: -6px;">
					</a>
				</div>
				<div class="collapse navbar-collapse" id="example-navbar-collapse">
					<!-- 左边 -->
					<ul class="nav navbar-nav navbar-left">
						<!-- 这里是商品管理 -->
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
								aria-haspopup="true" aria-expanded="true">商品管理模块 <span class="caret"></span></a>
							<ul class="dropdown-menu" style="background-color: #fd6440;">
								<li><a href="?m=admin&c=category&a=showList">分类管理</a></li>
								<li role="separator" class="divider"></li>
								<li><a href="?m=admin&c=goods&a=index">商品管理</a></li>
							</ul>
						</li>
						<!-- 这里是会员管理 -->
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
								aria-haspopup="true" aria-expanded="true">会员管理模块 <span class="caret"></span></a>
							<ul class="dropdown-menu" style="background-color: #fd6440;">
								<li><a href="?m=admin&c=user&a=showList">会员信息管理</a></li>
								<li role="separator" class="divider"></li>
								<li><a href="?m=admin&c=order&a=showList">会员订单管理</a></li>
							</ul>
						</li>
						<!-- 这里是回收站管理 -->
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
								aria-haspopup="true" aria-expanded="true">回收管理模块 <span class="caret"></span></a>
							<ul class="dropdown-menu" style="background-color: #fd6440;">
								<li><a href="?m=admin&c=dump&a=showList">回收列表</a></li>
								<li role="separator" class="divider"></li>
								<li><a>待开发</a></li>
							</ul>
						</li>
					</ul>
					<!-- /左边 -->
					<!-- 右边 -->
					<ul class="nav navbar-nav navbar-right">
						<if condition="$Think.session.admin_name !='' ">
							<li><a
									href="?m=Admin&c=Admin&a=load&m=admin&c=index&a=index">欢迎登录，{$Think.session.admin_name}</a>
							</li>
							<li><a href="?m=Admin&c=admin&a=logout">安全退出</a></li>
							<else />
							<li><a href="?m=Admin&c=admin&a=load">登录</a></li>
						</if>
						<li>
							<!-- 搜索 -->
							<form class="navbar-form navbar-right" action="?m=admin&c=goods&a=query" method="post"
								role="search" onsubmit="return checkSearch()">
								<div class="form-group">
									<input type="text" class="form-control" placeholder="商品名称" id="gn" name="gn" />
								</div>
								<button type="submit" class="btn btn-default btn-primary">搜索</button>
							</form>
						</li>
					</ul>
					<!-- /右边 -->
				</div>
			</div>
		</nav>
	</div>
	<!-- 滚动条导航栏渐变 -->
	<script type="text/javascript">
		$(function () {
			//窗口滚动条，距顶<600淡出 ，>600淡入
			$(window).scroll(function () {
				height = $(window).scrollTop();
				if (height < 80) {
					$('#nav').css("background-color", "#fd6440");
				} else {
					$('#nav').css("background-color", "rgba(253, 100, 64, 0.75)");
				};
			});
		});
	</script>

	<div class="container" style="padding-top: 60px;"></div>